fileio/
mg_socket_client_demo.pro
idl85
Example client side in client/server socket communication. Run this code on
a client (setting SERVER
keyword to server addess) and run
mg_socket_server_demo
on the server.
http://www.exelisvis.com/Company/PressRoom/Blogs/IDLDataPointDetail/TabId/902/ArtMID/2926/ArticleID/14483/Server-Side-TCPIP-Sockets-Officially-Documented-in-IDL-85-coming-soon.aspx
Author information
- Author
Jim Pendleton
Routines
Routines from mg_socket_client_demo.pro
mg_socket_client_demo_server_callback, id, info_hash
Callback which checks for new data from server.
mg_socket_client_demo [, server=string] [, port=uint]
Main routine running on the client.
Routine details
top source mg_socket_client_demo_server_callback
mg_socket_client_demo_server_callback, id, info_hash
Callback which checks for new data from server.
Parameters
- id in required type=long
timer identifier, there is only one timer on the client so this is not needed, but is required by the timer API
- info_hash in required type=hash
user-defined hash containing information stored between callbacks, e.g.,
lun
andbuffer_count
File attributes
Modification date: | Sun Aug 30 20:37:45 2015 |
Lines: | 51 |
Docformat: | rst rst |