UDP Sockets Programming

forum.td.development (2005-2010)
FRBhote
India
Posts: 1326
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

UDP Sockets Programming

Post by FRBhote » 19 May 2009, 10:23

 Posted by:  F R Bhote 

Does anyone have an example of UDP Sockets Programming?

Thanks.

Rainer Ebert

UDP Sockets Programming

Post by Rainer Ebert » 20 May 2009, 13:53

 Posted by:  Rainer Ebert 

Hi Feroz,

I know two ways of doing so:

1) Using the "Microsoft Winsock Control 6.0" which is an ActiveX control
which was shipped with MS Visual Basic 6.

2) Using the windows Wsock32.dll.

I've attached some things:
=================
a) An example using the MS ActiveX. But sorry, I do not have the appropriate
ActiveX library any more. If you are not able to recreate it, I can try to
find one from TD 2.1 which must be somewhere on our (hundreds of) CDs. This
in folder WinsockControl.

b) An example where I tried to create an own Winsock control using
wsock32.dll. This in folder WinsockDll. Compile an start the program twice.
Use one as server and one as client and play around.

c) Some samples I've found some time ago. This in folder samples.

Regards,
Rainer

Attachment: Winsock1.zip

FRBhote
India
Posts: 1326
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

UDP Sockets Programming

Post by FRBhote » 21 May 2009, 07:12

 Posted by:  F R Bhote 

Thanks - let me check them out.

FRBhote
India
Posts: 1326
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: UDP Sockets Programming

Post by FRBhote » 08 Feb 2019, 12:34

After a long time I need to try this again.. But cannot find STRCI42.dll.

Rainer! It's been a long time since I've seen you here

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1260
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: UDP Sockets Programming

Post by Dave Rabelink » 08 Feb 2019, 12:47

You have to comment the line -> Library name: STRCI42.dll in external functions section.

Then include cstructl.apl
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

FRBhote
India
Posts: 1326
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: UDP Sockets Programming

Post by FRBhote » 08 Feb 2019, 13:09

All right!

Return to “td.development”

Who is online

Users browsing this forum: No registered users and 0 guests