Sign in to follow this  
Followers 0
djdodo

Sendind signals over Network

3 posts in this topic

Hi!

I´m trying to write a small Server Monitoring Solution.

CODE

while 1

If ProcessExists ( "Process" ) Then

Sleep(500)

Else <SEND Signal to Monitoring>

Sleep (500)

EndIf

WEnd

How do I send a signal, and how do I receive it?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Look in TCPConnect(), the examples in the help file should get you started. :D It's just knowing what to look for, :o

TCPConnect()

TCPSend()

TCPReceive()

Edited by BinaryBrother

Share this post


Link to post
Share on other sites

Thanx, found it.

I used the German Help-file, there was nothing about TCP....

Tried out TCPrecv and TCPsend.

But I don´t understand the code.

How do I receive from more than one sender?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0