🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.tools
Article #82

Re: How can I modify the destination port of an incoming TCP packet

#82
From: Kevin Goodsell
Date: Fri, 28 Mar 2003 19:28
23 lines
2716 bytes
On Fri, 28 Mar 2003 18:55:24 +0800, "news.ust.hk" <maxlaw@sinaman.com>
wrote:

>Does anybody know what API can I use to monitor the destination port TCP
>packet out/in of my
>computer? Furthermore, is it possible that write a program which can alter
>the destination port of
>a packet before the packet is sent out or process by application? Is there
>any sample code of this kind of function?(in VC or VB), thanks a lot.......
>
>

Excessive cross-posting is very bad usenet form. Please be more
considerate in the future.

Your question is off-topic in comp.lang.c++, which is for discussion
of the standard C++ language. That language has no built-in support
for networking of any kind.

To the other groups: Please remove comp.lang.c++ from the cross-post
list when replying. Thank you.

-Kevin
Technical Details
Message-ID: <ct698v4mqjrk18nbbh9jrbs0r30hval1pe@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!green.readfreenews.net!news.readfreenews.net!news-xfer.cox.net!news-feed01.roc.ny.frontiernet.net!news-west.eli.net!not-for-mail
References: <b619mr$4pu$1@news.ust.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a59,32e0e6d65581843a
X-Google-Attributes: gidf9a59,public
X-Google-Thread: faf35,32e0e6d65581843a
X-Google-Attributes: gidfaf35,public
X-Google-Thread: 109fba,32e0e6d65581843a
X-Google-Attributes: gid109fba,public
X-Google-Thread: fa91f,32e0e6d65581843a
X-Google-Attributes: gidfa91f,public
X-Google-Thread: f72d4,32e0e6d65581843a
X-Google-Attributes: gidf72d4,public
X-Google-Thread: 108717,32e0e6d65581843a
X-Google-Attributes: gid108717,public
X-Google-Thread: 113dfb,32e0e6d65581843a
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 108a34,32e0e6d65581843a
X-Google-Attributes: gid108a34,public
X-Google-ArrivalTime: 2003-03-28 11:28:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!green.readfreenews.net!news.readfreenews.net!news-xfer.cox.net!news-feed01.roc.ny.frontiernet.net!news-west.eli.net!not-for-mail
From: Kevin Goodsell <goodsell@bridgernet.com>
Newsgroups: alt.comp.software.tools,chinese.comp.software,comp.lang.c++,comp.os.ms-windows.networking.misc,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.win32,comp.programming,hk.comp.hacker,hkust.cs.prog.c++
Subject: Re: How can I modify the destination  port of an incoming TCP packet
Message-ID: <ct698v4mqjrk18nbbh9jrbs0r30hval1pe@4ax.com>
References: <b619mr$4pu$1@news.ust.hk>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
Date: Fri, 28 Mar 2003 19:28:04 GMT
NNTP-Posting-Host: 216.190.234.151
X-Complaints-To: bridgernet.com
X-Trace: news-west.eli.net 1048879684 216.190.234.151 (Fri, 28 Mar 2003 12:28:04 MST)
NNTP-Posting-Date: Fri, 28 Mar 2003 12:28:04 MST
Organization: BridgerNET NewsReader Service