By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,591 Members | 650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,591 IT Pros & Developers. It's quick & easy.

Sockets problem.....really need help.

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.