Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SelectorUDP  (Read 2072 times)

0 Members and 2 Guests are viewing this topic.

Ogofo

  • Newbie
  • *
  • Posts: 1
    • View Profile
SelectorUDP
« on: January 23, 2013, 07:26:40 pm »
Hey guys. I try to create a server/client connection between 1 server and serval clients. I want to use UDP because the TCP overhead is just to big for what im planning to do (transferring a simulation between server and clients).

So I just read through the tutorials and played a bit around with the api. I created an udp server that binds porperly and a client that can send messages. The server works well with only one client sending stuff to him. But as soon as I start another instance of the client the server breaks. Soo I tried to implement the SelectorUDP but I don't know how to.

Or should I just make a multithreaded server that listens with serval threads?


Thanks for all your help :)

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SelectorUDP
« Reply #1 on: January 24, 2013, 03:24:47 pm »
Please read this link and then provide the needed information.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor