Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: UDP winsock

202| Tue, 05 Feb 2008 15:22:00 GMT| esert| Comments (0)
I am trying write a client that sends a UDP packet to the server. The packet should contain a byte field, integer field, boolean field, and a string field. I think a bytearray is the way to go because the java server accepts a bytearray as part of its datagramPacket, but I'm not sure how to pack the byte array containing these fields. Is the bytearray the best way to go about sending the packet? If so, how? If not, what other construct should I use to send the packet with the desired fields?

Keywords & Tags: udp, winsock, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/492899/
 
«« Prev - Next »» 0 helpful answers below.

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories