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

Author Topic: No network module?  (Read 3666 times)

0 Members and 1 Guest are viewing this topic.

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
No network module?
« on: July 12, 2013, 10:08:24 pm »
Why there is no network module for c#? SFML packets are so useful for networking and generally .net socket classes are a bit low level. Also I'm not aware of crossplatform c# network module which has good open source license.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: No network module?
« Reply #1 on: July 12, 2013, 10:31:23 pm »
sfml-network is very low-level, for language with rich standard frameworks there's generally no need to bind this module. Aren't there Stream classes in .Net, that can be bound to sockets?
Laurent Gomila - SFML developer

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
Re: No network module?
« Reply #2 on: July 12, 2013, 10:35:30 pm »
.NET sockets are even lower level than SFML sockets. Good point on streams, that seems like a good solution.

MasterQ32

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • MasterQ32.de
Re: No network module?
« Reply #3 on: July 15, 2013, 01:58:16 am »
What about the TcpClient class? It's one layer above Sockets, allows communication with streams very easy.
Or if you want to create a game, take a look at the lidgren3 library, it's really awesome (and much faster than TCP as well)
I sawed the demons.