Article View: alt.comp.software.tools
Article #81Re: How can I modify the destination port of an incoming TCP packet
From: Shane McDaniel
Date: Fri, 28 Mar 2003 14:58
Date: Fri, 28 Mar 2003 14:58
19 lines
2466 bytes
2466 bytes
"news.ust.hk" 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....... You need to ask this question in a group that specifically deals with your platform and whatever package you are using for network communication. The C++ standard does not include any of this. -shane
Technical Details
Message-ID:
<3E846311.9A290B13@nospam.ll.mit.edu>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!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!llslave.llan.ll.mit.edu!53ab2750!not-for-mailReferences:
<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: 109fba,32e0e6d65581843a X-Google-Attributes: gid109fba,public X-Google-Thread: fa91f,32e0e6d65581843a X-Google-Attributes: gidfa91f,public X-Google-Thread: 108717,32e0e6d65581843a X-Google-Attributes: gid108717,public X-Google-Thread: f72d4,32e0e6d65581843a X-Google-Attributes: gidf72d4,public X-Google-Thread: faf35,32e0e6d65581843a X-Google-Attributes: gidfaf35,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 06:55:36 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!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!llslave.llan.ll.mit.edu!53ab2750!not-for-mail Message-ID: <3E846311.9A290B13@nospam.ll.mit.edu> From: Shane McDaniel <shanem@nospam.ll.mit.edu> Organization: MIT Lincoln Laboratory X-Mailer: Mozilla 4.79 [en]C-CCK-MCD MITLL (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 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 References: <b619mr$4pu$1@news.ust.hk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Date: Fri, 28 Mar 2003 09:58:25 -0500 NNTP-Posting-Host: 155.34.64.107 X-Complaints-To: news@ll.mit.edu X-Trace: llslave.llan.ll.mit.edu 1048863335 155.34.64.107 (Fri, 28 Mar 2003 09:55:35 EST) NNTP-Posting-Date: Fri, 28 Mar 2003 09:55:35 EST