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

Author Topic: No sockets?  (Read 2200 times)

0 Members and 1 Guest are viewing this topic.

Shay9999

  • Newbie
  • *
  • Posts: 24
    • View Profile
No sockets?
« on: July 27, 2011, 11:36:55 pm »
I don't seem to have the sf::SocketUDP function on my Vis C++. I have sf::Socket, but this doesn't do the same effect as the tutorial was nudging me toward. Is there another function I can use?
C++-Trainee
SFML-Trainee

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
No sockets?
« Reply #1 on: July 28, 2011, 12:06:37 am »
sf::SocketUDP is not a function, it is a class.

A look into the SFML 2 documentation tells you that there is a new class sf::UdpSocket.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Shay9999

  • Newbie
  • *
  • Posts: 24
    • View Profile
No sockets?
« Reply #2 on: July 28, 2011, 02:12:28 am »
Thank you ^_^

and sorry, I'm kinda weird
C++-Trainee
SFML-Trainee

 

anything