473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

System.Net.Sockets.Socket Bug?

All,

Are there any known bugs with the Socket class in systems with multiple
network cards? If I create a Udp Socket (non-multicast) with "new
Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ProtocolType.Udp);" and bind it to anything but the machine's default
IP address, I am unable to send any packets. The SendTo method returns
without error, but I don't see any outgoing packets (either in the
Status Dialog for the network card, or even running a trace with
Ethereal). Like I said, it works when I bind to the machine's default
IP address, but if I try to bind to any other IP addresses on other
network cards, SendTo doesn't do anything. If you want, I can send you
some source code that will reproduce the problem. Any ideas?

-jim

Nov 3 '05 #1
2 1617
by chance did u apply the loopback patch microsoft came out with
?

"Alphamacaroon" wrote:
All,

Are there any known bugs with the Socket class in systems with multiple
network cards? If I create a Udp Socket (non-multicast) with "new
Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ProtocolType.Udp);" and bind it to anything but the machine's default
IP address, I am unable to send any packets. The SendTo method returns
without error, but I don't see any outgoing packets (either in the
Status Dialog for the network card, or even running a trace with
Ethereal). Like I said, it works when I bind to the machine's default
IP address, but if I try to bind to any other IP addresses on other
network cards, SendTo doesn't do anything. If you want, I can send you
some source code that will reproduce the problem. Any ideas?

-jim

Nov 4 '05 #2
I don't think so. I don't have the loopback adapter installed anyway.
Should I have the patch installed?

Nov 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Sagaert Johan | last post by:
i get this error if i write this : using System.Net.Sockets; .... .... TcpClient tcp; tcp=new TcpClient();
0
by: Sagaert Johan | last post by:
this code using System; using System.Net.Sockets; namespace ConsoleApplication1 { /// <summary> /// Summary description for Class1. /// </summary>
4
by: BadOmen | last post by:
Hi, What is the different between 'System.Net.Sockets.Socket' and 'System.Net.Sockets.TcpClient'? When do I use System.Net.Sockets.TcpClient and System.Net.Sockets.Socket?? Yours, Jonas
2
by: Stressed Out Developer | last post by:
We have an application that has a 200 count loop that does the following: ' Each time thru the loop we pass the next IP Address is a range (aka 192.168.4.50 thru 192.168.4.254) Try If...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
6
by: Aero | last post by:
Hi, My window application written in C# is throwing following exception while connecting to one FTP location The type initializer for System.Net.Sockets.Socket threw an exception This exe is...
3
by: J C | last post by:
Hi, I'm using UDPClient to make a simple DNS server. I notice that intermittently and unpredictibly I get: Unhandled Exception: System.Net.Sockets.SocketException: An existing connection...
4
by: sd1978 | last post by:
Hi, I have placed a webservice in the webserver. When I access it from a webpage, default.aspx on a click of a button i get the following error: No connection could be made because the target...
2
by: pedrito | last post by:
I've got an app that downloads from several concurrent threads. Occasionally, I get an expcetion trying to read the HttpWebResponse stream... Sorry, the code isn't short, but I figured best to...
2
by: =?Utf-8?B?VmlqYXk=?= | last post by:
Hi, I am calling an external web service that returns some data which is being displayed on my ASP.NET page. This page refreshes every 60 seconds and pulls the updated data from the web service....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.