473,698 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.E U.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_onDataA rrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataA rrival
Dim inData As String = Netsock.Bytesto String(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.rtbStat us.DisplayMessa ge(nStatus.rtbS tatus, "PONG :" &
C(1).Substring( 1))
RaiseEvent onSeverMessage( "PONG :" & C(1).Substring( 1))
Netsock.SendDat a(Netsock.Strin gToBytes("PONG :" &
C(1).Substring( 1) & vbCrLf))
End If

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

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NO TICE AUTH")
' CLi = CLi.Substring(i nt3)
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(Net sock.Nick)
CLi = CLi.Substring(i ntI + Netsock.Nick.Le ngth)
RaiseEvent onSeverMessage( CLi.ToString())
End If
End Select
Debug.WriteLine (CLi.ToString)
Next
End Sub
Nov 21 '05 #1
2 1212
Hi,

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

Ken
-----------------
"Supra" <su*****@rogers .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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.E U.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_onDataA rrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataA rrival
Dim inData As String = Netsock.Bytesto String(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.rtbStat us.DisplayMessa ge(nStatus.rtbS tatus, "PONG :" &
C(1).Substring( 1))
RaiseEvent onSeverMessage( "PONG :" & C(1).Substring( 1))
Netsock.SendDat a(Netsock.Strin gToBytes("PONG :" &
C(1).Substring( 1) & vbCrLf))
End If

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

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NO TICE AUTH")
' CLi = CLi.Substring(i nt3)
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(Net sock.Nick)
CLi = CLi.Substring(i ntI + Netsock.Nick.Le ngth)
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******* *********@TK2MS FTNGP10.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_onDataA rrival(ByVal Data() As Byte, ByVal
TotalBytes As Integer) Handles Netsock.onDataA rrival
Dim inData As String = Netsock.Bytesto String(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.rtbSta tus.DisplayMess age(nStatus.rtb Status, "PONG :" &
C(1).Substring (1))
RaiseEvent onSeverMessage( "PONG :" & C(1).Substring( 1))
Netsock.SendDat a(Netsock.Strin gToBytes("PONG :" &
C(1).Substring (1) & vbCrLf))
End If

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

If Not C(0) = "NOTICE" And C(1) = "AUTH" Then
Dim int3 As Integer = CLi.IndexOf("NO TICE AUTH")
' CLi = CLi.Substring(i nt3)
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(Net sock.Nick)
CLi = CLi.Substring(i ntI + Netsock.Nick.Le ngth)
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
1663
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 (deprecated?). But how? Any ideas?
4
1144
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 the reply. I don't have service pack2 installed on my machine.
7
2199
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, if appropriate, print it 3. tries to deploy that report to the client's database, but now it calls for a different database name Yet I can't get an answer to the question: I have developed numerous reports in an app (Windows Database App) that...
7
5683
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 database. So all the even rows would be from database one. All the odd rows would be from database two. Row one and two will have different formats and colors.
7
1200
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 module module) Public varNewChannel as Collection Public Property Get NewChannel () as Collection Set NewChannel = varNewChannel
2
1008
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, Optional ByVal Colour As String = "") rtb.SelectionStart = rtb.Text.Length rtb.SelectedText = sText <=== i needed to call doColor..but how? rtb.ScrollToCaret() End Sub
12
1116
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 multicolumn listbox but the # of columns is somehow fixed and it contains icons as well as text. 2. When I add a main menu to a child form in an mdi app, and use this code, the menu does not merge (I do not want it to merge with the parent's...
2
2820
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 handle a situation if the camera, or connection to the camera become interupted. I am connecting through a device called a "dazzle" which for some reason or another causes a few connection problems here and there.
0
9170
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.