Hi all, hobbyist/non-profession programmer here. I don't have a strong grasp on network addressing.
I have a computer that simultainiously connects to two different networks. 1 through wireless, one by network cable.
In my DotNet (c#) windows form app, I would like it to send some requests to one of the networks through one of the NIC...
I'm writing in .NET a windows service that, at windows startup, executes some network operations. I noticed that my service starts before the network is up.
How can I check the network connectivity? Or, better, how can I check if the dhcp gave me an ip?
...
Can someone give me simple code to help with creating an HTTP server for the iPhone. Something simple with much documentation would be appreciated. Anything you have please share.
...
Hi friends,
Say, I have a server that handles file based mass data and can process thousands of read requests and hundreds of provisioning requests(Add, modify, delete) per second. This is not SQL based database. Now i planned to implement replication. There should be master- master replication, master slave replication, partial replica...
I used code given but I am getting "IOCancelledException" and "IOException". And IOCancelledException.getMessage() / IOException.getMessage() giving null string, it does not give error message. Please help me understaing reason.
class SMSThread extends Thread {
Thread myThread;
MessageConnection msgConn;
String message;
...
Hi everyone!
Think about the following:
Your ISP offers you a dynamic ip-address (for example 123.123.123.123).
My question is simple (the answer may not be):
Is it possible to send a single udp-packet with an outer source-ip (for example 124.124.124.124) to a fixed-ip server? I don't need to get a answer from the server. I just want ...
I have this code:
ServerSocket serverSideSocket = new ServerSocket(1234);
serverSideSocket.accept();
BufferedReader in = new BufferedReader(new InputStreamReader(serverSideSocket.getInputStream()));
And compiler writes me that it cannot find "getInputStream". I do not understand why. In the beginning of my code I do im...
Hi everyone!
I've same data stored in a byte-array. The data contains a IPv4 packet (which contains a udp-packet).
I want to send these array raw over the network using C# (preferred) or C++. I don't want to use C#'s udp-client for example.
Does anyone know how to perform this?
Sorry for my bad English and thanks for your help in adv...
Hi
I am currently working on a sample application which uses QNetworkAccessManager to send the HTTP command. In the sample we are uploading files to server. Here I want upload the file in chunk by chunk(not whole file).
Is there any way to send large file in chunk by chunk.
Thanks in advance
...
On my Win7 PC I have a couple of virtual network adaptors that are used for VMWare server.
My HttpWebRequest times out when I have these adaptors enabled. Should I really have to tell it which adaptor to bind to?
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url.AbsoluteUri + "etc.txt");
request.Time...
I am having some trouble dissecting a UDP packet. I am receiving the packets and storing the data and sender-address in variables 'data' and 'addr' with:
data,addr = UDPSock.recvfrom(buf)
This parses the data as a string, that I am now unable to turn into bytes. I know the structure of the datagram packet which is a total of 28 bytes,...
Right now, I'm programming the networking for my online game, and I'm not really sure
what to do about receiving data.
The problem is that I can't really guess the packet's size, so I thought of reading just 4 bytes from the packet and converting them to an int to know what's the packet's size.
Then I'll just create a buffer in that siz...
I have a vb.net program that uses mysql as its database. And it works when the computer has wampservr installed. But the program gets an unhandled exception error when the computer where its running does not have a wampserver. The only thing that is installed in it is the mysql connector net. How do I make it work. I just want the two pr...
What I need is to write very simple application, which would listen to network traffic, filter out some packets based on various layer 4/5 information and then dump those information into database.
I am quite confused on which pcap gem/plugin should I use. The basic pcap implemention seem to be a bit outdated (no changes since 2001) and...
How to Setup IIS 7.5 Website Physical Path to a Network Share?
When I point the physical path to a network share and try to access the page, I get the following error:
...
hey I'm writing on an Server-Client program
but when my client sends something, it never reaches my server!
I'm sending like this:
public void Send(string s)
{
char[] chars = s.ToCharArray();
byte[] bytes = chars.CharToByte();
nstream.Write(bytes, 0, bytes.Length);
nstream.Flush(); ...
So here is my current objective:
I need to create two guest instances of Ubuntu Desktop 9.10 in VirtualBox on a WindowsXP host. (This is needed for communications later on.) (this step is almost done)
I need to establish networking between all three OS's, the host and two guests (Guest1 -> Host -> Guest2).
I know that generally, to es...
We are going to begin implementing a web service that will be hosted on a DMZ server. This web server will post data to a SQL server and we're trying to determine the best methodology to handle this. Things that concern us are web service authentication, SOAP, and whether or not to store the database on the DMZ or the local network. This...
Not sure if this is an appropriate question as it isn't directly programming related, but since understanding those is sometimes necessary for programmers, I believe it is a valid question, so I'm posting it.
Anyway, I want to learn some of the more advanced topics that you normally don't find in introductory network books, such as the ...
Without using the private APIs, is it possible to programatically determine the MAC address of the access point that the iPhone is connected to?
I understand that this should be doable using the core BSD libraries, but we are new to this, so it would be great if someone can point us to some starter code.
Note: we're trying to determine...