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

for ken tucker

I had problem in irc chat. first server from UNDERNET i had crashed and
some other servers had no plobem such as DALNET, WEBMASTER, EFFNET,
CHATNET, etc. why? Undernet do not sent server name plus NOTICE AUTH...
this what i see on debug window... in undernet if i send MOTD again i
will get crash again. but in dalnet i never get crash again
NOTICE AUTH :*** Looking up your hostname
NOTICE AUTH :*** Found your hostname, cached
NOTICE AUTH :*** Checking Ident
plus sent another one along with nick b4 THE END OF MESSAGE DAY
Amsterdam2.NL.EU.undernet.org NOTICE djanjo2 :on 1 ca 2(4) ft 10(10) tr

in DALNET's server, i had no problem but i couldn't get "NOTICE AUTH" to
displayed. it different from undernet. dalnet send server name along
with msg
broadway.ny.us.dal.net NOTICE AUTH :*** Looking up your hostname...
broadway.ny.us.dal.net NOTICE AUTH :*** Checking Ident
broadway.ny.us.dal.net NOTICE AUTH :*** Found your hostname
broadway.ny.us.dal.net NOTICE AUTH :*** No Ident response

plus sent another NOTICE along with nick

broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- This server runs an
open proxy monitor to prevent abuse.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- If you see
connections on various ports from proxy1.monitor.dal.net
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- please disregard
them, as they are the monitor in action.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- For more
information please visit http://

I have attempted many times and modifed and redo again but no help.
hopefully u can solve problem. i will do rest.

Private Sub Netsock_onDataArrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataArrival
Dim inData As String = Netsock.BytestoString(Data)
Dim lData(), C(), CLi As String, tData, CL, a As Integer
Dim b() As String

lData = Split(inData, Chr(10))
tData = UBound(lData) - LBound(lData)

For a = 0 To tData
If Mid(lData(a), 1, 1) = ":" Then
lData(a) = Mid(lData(a), 2)
End If
Next
For CL = 0 To tData
C = Split(lData(CL), " ")
ReDim Preserve C(32767)
CLi = lData(CL)

Dim spNick As String(), sNick As String
Dim strNick As String = CLi
spNick = strNick.Split("!")
sNick = spNick(0)

If C(0) = "PING" Then
'
nStatus.rtbStatus.DisplayMessage(nStatus.rtbStatus , "PONG :" &
C(1).Substring(1))
RaiseEvent onSeverMessage("PONG :" & C(1).Substring(1))
Netsock.SendData(Netsock.StringToBytes("PONG :" &
C(1).Substring(1) & vbCrLf))
End If

If C(0) = "ERROR" Then
Dim int2 As Integer = CLi.IndexOf(":")
CLi = CLi.Substring(int2 + 1)
RaiseEvent onSeverMessage(CLi.ToString())
End If

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NOTICE AUTH")
' CLi = CLi.Substring(int3)
RaiseEvent onSeverMessage(CLi.ToString())

End If

Select Case C(1)
Case "001" To "009", "251" To "259", "322", "372" To
"376"
If C(2) = Netsock.Nick Then
Dim intI As Integer = CLi.IndexOf(Netsock.Nick)
CLi = CLi.Substring(intI + Netsock.Nick.Length)
RaiseEvent onSeverMessage(CLi.ToString())
End If
End Select
Debug.WriteLine(CLi.ToString)
Next
End Sub
Nov 21 '05 #1
2 1200
Hi,

Maybe this will help.
http://www.irixbox.com/?s=irc

Ken
-----------------
"Supra" <su*****@rogers.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I had problem in irc chat. first server from UNDERNET i had crashed and
some other servers had no plobem such as DALNET, WEBMASTER, EFFNET,
CHATNET, etc. why? Undernet do not sent server name plus NOTICE AUTH...
this what i see on debug window... in undernet if i send MOTD again i
will get crash again. but in dalnet i never get crash again
NOTICE AUTH :*** Looking up your hostname
NOTICE AUTH :*** Found your hostname, cached
NOTICE AUTH :*** Checking Ident
plus sent another one along with nick b4 THE END OF MESSAGE DAY
Amsterdam2.NL.EU.undernet.org NOTICE djanjo2 :on 1 ca 2(4) ft 10(10) tr

in DALNET's server, i had no problem but i couldn't get "NOTICE AUTH" to
displayed. it different from undernet. dalnet send server name along
with msg
broadway.ny.us.dal.net NOTICE AUTH :*** Looking up your hostname...
broadway.ny.us.dal.net NOTICE AUTH :*** Checking Ident
broadway.ny.us.dal.net NOTICE AUTH :*** Found your hostname
broadway.ny.us.dal.net NOTICE AUTH :*** No Ident response

plus sent another NOTICE along with nick

broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- This server runs an
open proxy monitor to prevent abuse.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- If you see
connections on various ports from proxy1.monitor.dal.net
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- please disregard
them, as they are the monitor in action.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- For more
information please visit http://

I have attempted many times and modifed and redo again but no help.
hopefully u can solve problem. i will do rest.

Private Sub Netsock_onDataArrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataArrival
Dim inData As String = Netsock.BytestoString(Data)
Dim lData(), C(), CLi As String, tData, CL, a As Integer
Dim b() As String

lData = Split(inData, Chr(10))
tData = UBound(lData) - LBound(lData)

For a = 0 To tData
If Mid(lData(a), 1, 1) = ":" Then
lData(a) = Mid(lData(a), 2)
End If
Next
For CL = 0 To tData
C = Split(lData(CL), " ")
ReDim Preserve C(32767)
CLi = lData(CL)

Dim spNick As String(), sNick As String
Dim strNick As String = CLi
spNick = strNick.Split("!")
sNick = spNick(0)

If C(0) = "PING" Then
'
nStatus.rtbStatus.DisplayMessage(nStatus.rtbStatus , "PONG :" &
C(1).Substring(1))
RaiseEvent onSeverMessage("PONG :" & C(1).Substring(1))
Netsock.SendData(Netsock.StringToBytes("PONG :" &
C(1).Substring(1) & vbCrLf))
End If

If C(0) = "ERROR" Then
Dim int2 As Integer = CLi.IndexOf(":")
CLi = CLi.Substring(int2 + 1)
RaiseEvent onSeverMessage(CLi.ToString())
End If

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NOTICE AUTH")
' CLi = CLi.Substring(int3)
RaiseEvent onSeverMessage(CLi.ToString())

End If

Select Case C(1)
Case "001" To "009", "251" To "259", "322", "372" To
"376"
If C(2) = Netsock.Nick Then
Dim intI As Integer = CLi.IndexOf(Netsock.Nick)
CLi = CLi.Substring(intI + Netsock.Nick.Length)
RaiseEvent onSeverMessage(CLi.ToString())
End If
End Select
Debug.WriteLine(CLi.ToString)
Next
End Sub

Nov 21 '05 #2
thank, tucker. :-)

Ken Tucker [MVP] wrote:
Hi,

Maybe this will help.
http://www.irixbox.com/?s=irc

Ken
-----------------
"Supra" <su*****@rogers.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I had problem in irc chat. first server from UNDERNET i had crashed and
some other servers had no plobem such as DALNET, WEBMASTER, EFFNET,
CHATNET, etc. why? Undernet do not sent server name plus NOTICE AUTH...
this what i see on debug window... in undernet if i send MOTD again i
will get crash again. but in dalnet i never get crash again
NOTICE AUTH :*** Looking up your hostname
NOTICE AUTH :*** Found your hostname, cached
NOTICE AUTH :*** Checking Ident
plus sent another one along with nick b4 THE END OF MESSAGE DAY
Amsterdam2.NL.EU.undernet.org NOTICE djanjo2 :on 1 ca 2(4) ft 10(10) tr

in DALNET's server, i had no problem but i couldn't get "NOTICE AUTH" to
displayed. it different from undernet. dalnet send server name along
with msg
broadway.ny.us.dal.net NOTICE AUTH :*** Looking up your hostname...
broadway.ny.us.dal.net NOTICE AUTH :*** Checking Ident
broadway.ny.us.dal.net NOTICE AUTH :*** Found your hostname
broadway.ny.us.dal.net NOTICE AUTH :*** No Ident response

plus sent another NOTICE along with nick

broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- This server runs an
open proxy monitor to prevent abuse.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- If you see
connections on various ports from proxy1.monitor.dal.net
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- please disregard
them, as they are the monitor in action.
broadway.ny.us.dal.net NOTICE djanjo2 :*** Notice -- For more
information please visit http://

I have attempted many times and modifed and redo again but no help.
hopefully u can solve problem. i will do rest.

Private Sub Netsock_onDataArrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataArrival
Dim inData As String = Netsock.BytestoString(Data)
Dim lData(), C(), CLi As String, tData, CL, a As Integer
Dim b() As String

lData = Split(inData, Chr(10))
tData = UBound(lData) - LBound(lData)

For a = 0 To tData
If Mid(lData(a), 1, 1) = ":" Then
lData(a) = Mid(lData(a), 2)
End If
Next
For CL = 0 To tData
C = Split(lData(CL), " ")
ReDim Preserve C(32767)
CLi = lData(CL)

Dim spNick As String(), sNick As String
Dim strNick As String = CLi
spNick = strNick.Split("!")
sNick = spNick(0)

If C(0) = "PING" Then
'
nStatus.rtbStatus.DisplayMessage(nStatus.rtbStatu s, "PONG :" &
C(1).Substring(1))
RaiseEvent onSeverMessage("PONG :" & C(1).Substring(1))
Netsock.SendData(Netsock.StringToBytes("PONG :" &
C(1).Substring(1) & vbCrLf))
End If

If C(0) = "ERROR" Then
Dim int2 As Integer = CLi.IndexOf(":")
CLi = CLi.Substring(int2 + 1)
RaiseEvent onSeverMessage(CLi.ToString())
End If

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NOTICE AUTH")
' CLi = CLi.Substring(int3)
RaiseEvent onSeverMessage(CLi.ToString())

End If

Select Case C(1)
Case "001" To "009", "251" To "259", "322", "372" To
"376"
If C(2) = Netsock.Nick Then
Dim intI As Integer = CLi.IndexOf(Netsock.Nick)
CLi = CLi.Substring(intI + Netsock.Nick.Length)
RaiseEvent onSeverMessage(CLi.ToString())
End If
End Select
Debug.WriteLine(CLi.ToString)
Next
End Sub



Nov 21 '05 #3

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

Similar topics

2
by: Robin Tucker | last post by:
I have a DLL that hands me an HGLOBAL handle to a blob of memory containing a WAV file (don't ask what the app is!). I figured I could play it with winmm.dll PlaySound or sndPlaySound...
4
by: Dinesh Jain | last post by:
First of all, sorry for posting this by specifying name. I posted it with an earlier exisiting thread but didn't get the reply from Ken, so posting it new thread. Hello Mr.Ken, Thanks for...
7
by: Bernie Yaeger | last post by:
I can't believe that there aren't lots of developers who: 1. create a crystal report that connects to sql server 2. calls the report using the crystalreportviewer control to view it and then,...
7
by: Dave | last post by:
Are there any add-on products or samples available that can do the following in an vb.net datagrid I want to compare 2 rows in a datagrid - one row from one database and another row for another...
7
by: Supra | last post by:
hi ken tucker, how will i do in vb.net? in vb6 i have no problem. i have rewritten in vb.net but i got white blank form. i am doing irc chat project similar mirc chat. in vb6 class module (not...
2
by: Supra | last post by:
this code will worked. i can connected to any servers...but how do i added method called doColor from usercontrol to module Sub DisplayMessage(ByVal rtb As RichTextBox, ByVal sText As String,...
12
by: Bernie Yaeger | last post by:
I asked two fairly simple questions, or so I thought, but have received no ideas at all. 1. What is the control that MS uses in Outlook Express that contains attachments? It appears to be a...
2
by: Jeremy | last post by:
Hello I am using a web cam service that saves images every five minutes based off the example given by Ken Tucker. (hopefully I can catch him!) It works great for the most part. I need to...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
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,...
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...

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.