Hi , I would like to know if it is possible to 'build' the TCP header
with Source port / destination port , and with FLAGs i.e. SYN flag ,
sequence etc.
I know this can be done in C++ of course , question is if it is
possible in C# , o r it is too low level for it .
if it is possible , please post a sample ..
thanks ,
Yossi . 1 3077
"Jabadia" <jj******@hotma il.com> wrote in message
news:86******** *************** ***@posting.goo gle.com... Hi , I would like to know if it is possible to 'build' the TCP header with Source port / destination port , and with FLAGs i.e. SYN flag , sequence etc.
I know this can be done in C++ of course , question is if it is possible in C# , o r it is too low level for it .
if it is possible , please post a sample ..
Although I am not entirely sure what the purpose of this would be(outside of
nefarious ones), The .NET socket class does support raw sockets to some
extent. I don't know of a class that provides services for generating a
packet(one certainly doesn't come with the framework), but the socket
support is there.
If you are able to generate your own headers(You can do this in C#, thats
not the issue), you might be able to use the raw support to achieve this.
How would you do it in C++? What api's would you use? thanks , Yossi . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alphamacaroon |
last post by:
All,
I'm wondering if anyone can help me with a strange problem I'm having.
First off, here's what I'm trying to do:
I'm developing a UDP network application that should allow the end user
to choose the network interface they want to send and receive UDP
packets on. Simple enough.
If the computer has a single network card and IP address this all works
|
by: Frosty Madness |
last post by:
I have the beginnings of a device emulator that sits on the network...
**************
using System;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text;
|
by: CeZaR |
last post by:
Hi,
I've posted earlier a question regarding the call to GetCommState.
Here is the code for the function.
The problem is that GetCommState always returns false!!
Why?
void Open()
{
// the DCB and COMMTIMEOUTS structure are declare a __value struct
DCB *dcbCommPort = __nogc new DCB();
|
by: Jeff |
last post by:
I need someone to point me into the right direction or suggest some
sources of information for modifying internet packets leaving and
arriving at my machine.
I'm looking to run a service my machine that will allow me to create
some sort of tunnel to another.
As an example:
Computer A is connecting to computer B with VPN.
"A" sends a packet "B" on port 998 as an example and the ISP is
|
by: Li Pang |
last post by:
Hi,
I'd like to know how to easily map a network drive using vb.net.
thanks
| |
by: damacy |
last post by:
hi, there. i have a problem writing a program which can obtain ip
addresses of machines running in the same local network.
say, there are 4 machines present in the network; , , and
and if i run my program on , it should be able to find "host names"
and "ip addresses" of the other machines; , and ?
i have read some threads posted on this group, however, they only work
for localhost, not the entire network.
|
by: george585 |
last post by:
Hello!
I am new to network programming, and understand just basics. Using some sample code, and having read documentation, I managed to create a simple app in C# and VB.NET. The application is supposed to do the following:
monitor ALL INCOMING TCP traffic on the local computer, and save certain parts of it as files - not log files though, but actual files that are sent to the computer as part of http or ftp. Basically if a user browse a page...
|
by: Gurur |
last post by:
Hi all,
I have a doubt.
If I have 2 structures and one is parent of other , ie the child
structure is present in the parent one . And if the child structure is
declared as dynamic array in the parent , will it be possible to pass
the parent structure thru network using sockets onto other application
running on different system provided the API is known to both the
sender and the receiver.
|
by: kyosohma |
last post by:
Hi,
I am trying to get a small group of volunteers together to create
Windows binaries for any Python extension developer that needs them,
much like the package/extension builders who volunteer their time to
create Linux RPMs.
The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer's test
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |