Abudahim Posted February 3, 2004 Posted February 3, 2004 I know how to use ServiceProviderTcpIp in DirectPlay but I realy give up on how to use ServiceProviderModem ? thanks Quote
*Experts* mutant Posted February 3, 2004 *Experts* Posted February 3, 2004 Is the service provider available on your computer? You don't have to work with different types any differently, DirectPlay does that for you. Quote
Abudahim Posted February 4, 2004 Author Posted February 4, 2004 how ? I just want to connect to another computer through the modem . that is the issue . Quote
Abudahim Posted February 4, 2004 Author Posted February 4, 2004 why is this code doesn't work? Dim peer As Peer Dim hostAddress As Address Dim deviceAddress As Address hostAddress = New Address deviceAddress = New Address hostAddress.ServiceProvider = Address.ServiceProviderModem Dim desc As New ApplicationDescription peer.FindHosts(desc, Nothing, deviceAddress, Nothing, 0, 0, 0, FindHostsFlags.None, 0) Quote
*Experts* mutant Posted February 4, 2004 *Experts* Posted February 4, 2004 What doesnt work in it? It can't connect? Throws an exception? One thing that I noticed at the first look is that you don't set an application description properties whatsoever, for example you don't set a GUID, your application will not be able to find another one on the specified IP. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.