SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 01 | March | 2000 ]


Date: Wed, 1 Mar 2000 22:06:48 PST
From: Peter Skye <pskye@peterskye.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: TCP/IP socket programming ?

Content Type: text/plain

Hi,

I want to write a small monitoring module that will run on my machine
along with my email software (Netscape 2.02, and I use it because I like
the "threading" view).

I want the email program (NS202) to connect to my monitoring module,
which will watch all email traffic in both directions, and then the
monitoring module will communicate with whatever the email software
normally communicates with.

I know how to open a socket and connect it to a server so I can send the
server some commands and then "listen" for a response. What I don't
know is how to open a socket so it will "listen" for a command from the
email software. How do I do this? (What setting do I have to change in
the email software to get it to send a command to the monitoring
module? How does the monitoring module tell TCP/IP that it is indeed
the module that the email software is looking for?)

And suppose I have several different monitoring modules strung together
like filters on a command line: I know each monitoring module plus the
email software only communicates directly with TCP/IP, but how do I link
the modules together in a certain sequence? I presume I have to give
unique names to each module and have each module tell TCP/IP what the
name of the other module is that it is to link to - how do I do this?

For example, if I have two monitoring modules A, B (MMA, MMB) plus
Netscape 2.02 (NS202):

(Use a fixed width font to view the following)

The logical diagram looks like this:

rest of world <-> TCP/IP <-> MMA <-> MMB <-> NS202

And the actual communication connections are:

/|<-> MMA
rest of world <-> TCP/IP |<-> MMB
\|<-> NS202

What do MMA and MMB have to specify to TCP/IP so they're connected in
the desired sequence?

An example of the actual calls would be helpful.

Thanks. :)

- Peter

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


Return to [ 01 | March | 2000 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.