winsock

This is a discussion on winsock within the Game Programming forums, part of the General Programming Boards category; now i cant take out x and y from the string the string itself when i output says x150 y150 ...

  1. #16
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    now i cant take out x and y from the string
    the string itself when i output says x150 y150
    so i use sscanf() and put them in P.x and P.y but for some reason
    P.x & P.y:s values are 0





    it was the player struct in one of them x&y was int
    the other struct x,y was floats thats why it didnt work GDI

    sry for bothering you with this!

    and thanks again!
    Last edited by pode; 03-24-2004 at 09:16 AM.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Winsock issues
    By tjpanda in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2008, 07:32 AM
  2. Winsock Messaging Program
    By Morgul in forum Windows Programming
    Replies: 13
    Last Post: 04-25-2005, 04:00 PM
  3. Winsock - Where do i start?
    By Brain Cell in forum Networking/Device Communication
    Replies: 5
    Last Post: 02-14-2005, 12:39 PM
  4. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 11:11 AM
  5. winsock
    By pode in forum Networking/Device Communication
    Replies: 2
    Last Post: 09-26-2003, 12:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21