This is my first thread on this board, so bear with me. I was scanning through some code, and noticed the send() function.

It looks like it only sends text. What if you wanted to send something else? That's all for now.

10-15-2003

Hammer

You send() bytes. These bytes might form a sentence, a number (character or binary level encoding), or maybe a data type like a struct. It's up to you, just give send a valid pointer, tell it the length of data to send, and off you go.

10-21-2003

Stan100

Okay, Do I need to know winsock for DirectPlay?

I'm guessing for send() you would cast the data, because the prototype says char*, unless I'm mistaken:) :D

10-22-2003

Hunter2

Quote:

I'm guessing for send() you would cast the data, because the prototype says char*, unless I'm mistaken