Well, There's a way... but u won't like it.
When i was writing my peer-to-peer file server, i just declared a whole crapload of booleans...
(GEN DECS)
DIM SENDDATA AS BOOLEAN
Then all you have to do is trigger the boolean
(WHEN SENDING THE DATA)
LET SENDDATA = TRUE
WINSOCK1.SENDATA DATA
...
After that you use the winsock control's "send complete" event
(WINSOCK1 - SENDCOMPLETE EVENT SUB)
IF SENDDATA = TRUE THEN LET SENDDATA = FALSE
...This may seem all well and good if you have 1 or two data exchanges that you need to check on, but when you get up to about 12 the whole thing becomes un-manageable.
If anyone has a better way of doing this then LET ME KNOW VIA E-MAIL... PLEASE!