how to use ServiceProviderModem ?

Abudahim

Freshman
Joined
Jan 25, 2004
Messages
34
I know how to use ServiceProviderTcpIp in DirectPlay but I realy give up on how to use ServiceProviderModem ?

thanks
 
Is the service provider available on your computer? You don't have to work with different types any differently, DirectPlay does that for you.
 
why is this code doesn't work?
Code:
        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)
 
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.
 
Back
Top