Home Forums Support Ad Hoc Network Reply To: Ad Hoc Network

#1439
Anonymous
Inactive

Hey Ankhenaten, many thanks for your interest in our network library and welcome to our forums.

Any ideas about the specialities in an ad-hoc Network I have to take care off?

Nope.

If you have existing network applications that work over the adhoc network I would check that your server application is definitely listening on port 10000. Please use something along these lines:

List<EndPoint> localListeningEndPoints = (connectionTypeToUse == ConnectionType.TCP ? Connection.ExistingLocalListenEndPoints(ConnectionType.TCP) : Connection.ExistingLocalListenEndPoints(ConnectionType.UDP));
            
foreach(IPEndPoint localEndPoint in localListeningEndPoints)
    Console.WriteLine("{0}:{1}", localEndPoint.Address, localEndPoint.Port);

If you find that the server application is listening on the expected port then please post back.

Regards,
Marc