|
-
Aug 8th, 2005, 04:45 AM
#1
Thread Starter
New Member
Help on Client-Server & IP address with VB6?
Hi,
I just want to write a client-server application on a LAN network using VB6.
The server will accept connection request from client and respond to data request from them.
The client has to know the IP address of server machine. Anyone know how to retrieve the IP of server machine from its name?
Any one can help me with this application: design, techniques, classes and error handling ?
Many thanks.
Last edited by winall2; Aug 10th, 2005 at 01:54 AM.
-
Aug 8th, 2005, 07:59 AM
#2
Re: Help on Client-Server & IP address with VB6?
Welcome to the forums.
Are you using DHCP or is the Ip static?
-
Aug 9th, 2005, 01:52 AM
#3
Thread Starter
New Member
Re: Help on Client-Server & IP address with VB6?
Hi,
I'm using a LAN with DHCP, so the IP address of the server is not fixed.
Also, can anyone suggest a protcol for data exchange btw client and server ?
Thanks.
-
Aug 11th, 2005, 01:15 AM
#4
Fanatic Member
Re: Help on Client-Server & IP address with VB6?
I'm pretty sure that there's APIs for this. Maybe searching MS for information on networks will turn up something but I can't remember which API to point you at.
The protocol you use would depend on the transaction you are performing. Unidirectional would probably indicate UDP....
-
Aug 11th, 2005, 02:04 AM
#5
Fanatic Member
Re: Help on Client-Server & IP address with VB6?
@winall2
I would suggest using the TCP protocol because your data is more likley to get on the other side as oppsed to UDP.
Prehaps you can use the winsock control?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|