Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualAntheus

Posted 28 April 2012 - 09:25 AM

the SDLNet_TCP_Send() is designed for the client only (according to the documentation).


It is?

Perhaps this is confusing:

... such as the client disconnecting.

I prefer the term "peer" for this purpose, since it doesn't confuse terminology or imply direction.

But no, client here means "the thing on the other side of TCP connection", nothing more.

The server cannot send information, and the client can't receive information.


If you can send in one direction, you can send in other. But hard to say without more detail.

Have you tried first going through the SDLNet tutorial?

#1Antheus

Posted 28 April 2012 - 09:24 AM

the SDLNet_TCP_Send() is designed for the client only (according to the documentation).


It is?

Perhaps this is confusing:

... such as the client disconnecting.

I prefer the term "peer" for this purpose, since it doesn't imply client-server topology.

But no, client here means "the thing on the other side of TCP connection", nothing more.

The server cannot send information, and the client can't receive information.


If you can send in one direction, you can send in other. But hard to say without more detail.

Have you tried first going through the SDLNet tutorial?

PARTNERS