Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

socket program sample code

i am using socket programming.virtual controller is the client and my c# program is the server,both running on the same pc.I will write a rapid program which listens for the data from server,but i don't know how to write c# program as socket server.

can you send me a sample code both c# program(socket server) and rapid program(socket client) ?

thanks a lot!