how to use ServiceProviderModem ?

Abudahim

Active member
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 dont have to work with different types any differently, DirectPlay does that for you.
 
why is this code doesnt 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 cant connect? Throws an exception? One thing that I noticed at the first look is that you dont set an application description properties whatsoever, for example you dont set a GUID, your application will not be able to find another one on the specified IP.
 
Back
Top