Question Winsock usage

Kwantakosta

New member
Joined
Sep 30, 2009
Messages
2
Programming Experience
Beginner
hi,

trying to send multiple data trough winsock but can get it to work

i'm making a program for entrance and a central pc who must get al general info from other pc's

the pc on the entrance is used to sell tickets , this pc should send the total amount of cash and the total amount of payed visitors to the central pc

@ moment i'm just able to send 1 of the 2 objects

i tryed usen a counter system that counts the amount of messages and then knows what the message is for, buth doing these i keep losing information

is there another way to do this ?

it doesn't have to be winsock if there i another method

thx;)
 
Winsock isnt the greatest with sending data, mostly because it does double packet at points. I suggest looking into a TCP client & server, its a bit smoother, already lets you have multiple users connected. I can help you with this if you want.
 
Back
Top