Skip to main content
gamedev.net
🔒 Locked

DirectPlay AddComponent error (host)

Started by BigBeginner Nov 29, 2005 at 4:57 AM 0 replies 350+ views
Original Post
BigBeginner
BigBeginner
Hi, I want to connect to an LAN server. I have only an IP and PORT. First I must to create an address object. The object is created, and want to add the IP, PORTs... the PORT adding is OK, but I'm in trouble with host: TargetHost.AddComponent(DPNA_KEY_HOSTNAME, HOST, Length(pwchar(HOST))*2, DPNA_DATATYPE_STRING); Dunno what to do... if the HOST variable contain '32.123.22.41', it's ok? The function always returns invalidcall.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.