Re: Messaging alert



* Fernando Quinones <fernandoq@xxxxxxxxxxxxx>
| The important question now is how do I send the information from the
| client to the server, lets say something like a filename. Where do I
| pack that information. Moreover, once I get that information on the
| server how do I send a message back to the client that I am done
| with processing the file.

Just use 'puts' on the socket (client) or on the newSock argument to
the Accept2 proc (server) to write data and 'gets/read' to receive
data. Both of these channels are read-write. What you 'puts' in the
server you can 'gets/read' on the client and vice versa.

http://www.tcl.tk/man/tcl8.4/TclCmd/socket.htm
has a small example at the end.

http://wiki.tcl.tk/socket
is more elaborate.

HTH
R'
.



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)
  • RE: Fax monitor incoming + outgoing calls?
    ... problem between the client computer and the SBS server. ... Client is using the internal IP address of the SBS server as the ... To the folder redirection GPO issue: ...
    (microsoft.public.windows.server.sbs)