SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Windows Socket

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Windows Socket
Author Message
Gennadiy



Joined: 13 Jun 2002
Posts: 18

Post Windows Socket Reply with quote

Hello,

Is any way of using Windows Socket functionality from the Scheduler?

For Example:

I already have a Socket.Listiner application
and I need to use Socket.SendData "keyword"
from the scheduler at scheduled time to server application to process all requests.

Thanks,
Gennadiy

Mon Dec 16, 2002 7:07 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Windows Socket Reply with quote

You can use the Call statement to call API functions provided in Wsock32.dll and ws2_32.dll.

Below is a paste from Windows SDK documentation:
The Windows Sockets send function sends data on a connected socket.

int send (

SOCKET s,

const char FAR * buf,

int len,

int flags

);
Parameters

s
[in] A descriptor identifying a connected socket.
.
buf
[in] A buffer containing the data to be transmitted.
.
len
[in] The length of the data in buf.
.
flags
[in] Specifies the way in which the call is made.
.

Import Library ws2_32.lib
Header File winsock2.h

: Hello,

: Is any way of using Windows Socket functionality from the Scheduler?

: For Example: I already have a Socket.Listiner application
: and I need to use Socket.SendData "keyword"
: from the scheduler at scheduled time to server application to process all
: requests.

: Thanks,
: Gennadiy

Mon Dec 16, 2002 7:54 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.