I wanted to write a small server to share some data. So I was trying to find a listen function to wait for a connection request. Does one of these exist in runrev?
I wonder how you could write a P2P client to client without a listen function. Maybe there is an external available for this.
Any info is appreciated.
TIA
Opening a socket for listening
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Opening a socket for listening
Developing with Windows XP & Revolution 4.5
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Opening a socket for listening
See the accept command in the Dictionary, and see it in action with the Chat example included in the Rev install.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Opening a socket for listening
Yes that seems to do the trick.
Thank you for the timely response.
Have a great holiday.
Thank you for the timely response.
Have a great holiday.
Developing with Windows XP & Revolution 4.5