473,385 Members | 1,309 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,385 software developers and data experts.

Sockets problem.....really need help.

So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd)
and everything was fine untill yesterday when the server crashed. So I did
a cold restart and staretd the server back up now it's throwing this stream
of errors right away. Does anyone have any idea what they mean. I havn't
changed the source at all since it was working (which was for four days).

It errors here saying An unhandled exception of type
'System.TypeInitializationException' occurred in system.dll

Additional information: The type initializer for "System.Net.Sockets.Socket"
threw an exception.:

Public Function init() As Integer

YL = GetYLine(cc)

If YL Is Nothing Then

'no such y-line

Return -1

End If

If Not IsIp(address) Then

Try

address = Net.Dns.Resolve(address).AddressList(0).ToString '<------ ERRORS
ON THIS LINE

Catch ex As Exception

Return -1

End Try

End If

End Function

################ ERROR

Unhandled Exception: System.TypeInitializationException: The type
initializer fo
r "System.Net.Sockets.Socket" threw an exception. --->
System.Net.Sockets.Socket
Exception: An operation on a socket could not be performed because the
system la
cked sufficient buffer space or because a queue was full
at System.Net.Sockets.Socket.InitializeSockets()
at System.Net.Sockets.Socket..cctor()
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily,
SocketType so
cketType, ProtocolType protocolType)
at PureIRCD.EndPoint..ctor() in C:\Documents and
Settings\Jameson.WHITERABBIT
\My Documents\Visual Studio Projects\PureIRCD\connectivity\endpoint.vb:line
380
at PureIRCD.PLine.init(Boolean silent) in C:\Documents and
Settings\Jameson.W
HITERABBIT\My Documents\Visual Studio
Projects\PureIRCD\memory\globals.vb:line 6
62
at PureIRCD.conf.InitLinks() in C:\Documents and
Settings\Jameson.WHITERABBIT
\My Documents\Visual Studio Projects\PureIRCD\memory\conf.vb:line 340
at PureIRCD.IRCd.load_irc() in C:\Documents and
Settings\Jameson.WHITERABBIT\
My Documents\Visual Studio Projects\PureIRCD\core\ircd.vb:line 98

Jul 21 '05 #1
0 1765

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

Similar topics

15
by: mrpolitics | last post by:
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd) and everything was fine untill yesterday when the server crashed. So I did a cold restart and staretd the server back up...
0
by: Dumdidum | last post by:
Hello I am a newbie to VB.NET, normally I code in VB6! Now I have a big problem: I want to have a server which has a windows media player-Control on it. With the client I should remotly...
3
by: Michael Maercker | last post by:
hi! i'm really not into networking at all and have now been asigned the task of porting a vb6-code into vb.net (compact framework, in this case) and the code uses the winsock-control. i quickly...
0
by: mrpolitics | last post by:
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd) and everything was fine untill yesterday when the server crashed. So I did a cold restart and staretd the server back up...
4
by: taskswap | last post by:
I have a legacy application written in C that I'm trying to convert to C#. It processes a very large amount of data from many clients (actually, upstream servers - this is a mux) simultaneously. ...
1
by: verge | last post by:
hello everyone! how's it going? like everyone in here im in need of some help and good friendship along the way...take a look at this: //MODIFIED SO IT DEALS WITH WINDOWS FTP USING ACTIVE...
14
by: eliss.carmine | last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first time using C# at all so I don't know if this is the "right" way to do it. I've already found out several times the way I was...
8
by: JDavis | last post by:
I am using System.Net.Sockets to connect a client socket to a server that requires three inputs when I connect: host, port and an identification number that identifies the person connecting. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.