Problem with BuildFromURLA

Started by
1 comment, last by BigBeginner 18 years, 4 months ago
Hi, it maybe a simple and stupid question, but I don't know how to solve it. I want to make an address interface to connect an session. I have only the IP and PORT, and use the BuildFromURLA function: TARGETHOST.BuildFromURLA ('192.168.144.113:10000'); Delphi code, I hope the C++ programmers will understand it. It returns with "specified string is not a valid DirectPlay URL". Please helpmee...
Advertisement
Sorry, I forget something:

TARGETHOST.BuildFromURLA ('x-directplay:/192.168.144.113:10000');

Same error.
Ok, I have solved it, in the end I built the address with BUILDSOCKADDRESS function... the topic is deleteable not to take a lot of space at gamedev. :)

This topic is closed to new replies.

Advertisement