 |
|
 |
how do i create a ip range scanner application using c# in visual studio.would really appreciate if you can help me please
|
|
|
|
 |
|
 |
Hello
You may not send a file to give it?
|
|
|
|
 |
|
 |
I really want to thank UNOLIBS for this great release. It has made TCP communication very easy.
However, I have an important question! How can I recieve messages/data from the client class?
Like in the server class: server.receive()
|
|
|
|
 |
|
 |
I am using a server developed with version 2 of the class.
I have found that the server receives the message only properly when following 7 characters are sent in front of it : ( in hex ) 00 00 00 00 00 00 0c
Any ideas ? Have you experience dthis also ?
guido
|
|
|
|
 |
|
 |
Hi man, i working in Free Anticheat Program and need fix little issue.
How implement Event in VB.Net, this code need warning me, when Client Connect the Game to port 2346.
Any idea ?
thank you.
|
|
|
|
 |
|
 |
? do you program a Free anticheat program or a Game?
i am just not able to understand, sorry.
1-how to implement a custom event in VB.NET?
Public Class YOURCLASS
'ths is taken from the unolibs.net code
Public Structure InMessEvArgs
Dim message As String
Dim senderIP As String
Public Sub New(ByVal Message As String, ByVal SenderIP As String)
Me.message = Message
Me.senderIP = SenderIP
End Sub
End Structure
Public Event IncomingMessage(ByVal eventargs As InMessEvArgs)
End Class
and then you should add somewhere in YOURCLASS code something like
Dim args As New InMessEvArgs(message, REP.Address.ToString())
RaiseEvent IncomingMessage(args)
Of course this implementation is good for throwing an event wich sends to the event handler 2 strings message and senderIP.
if you want to customize your event you should create a suitable structure that contains all the data you want tothrow out(this also may be no data at all, in this case (X) you can declare
X public event myevent() X
and then somwhere in the code
X raiseevent myevent() X
but if your question is about the connection for a game then you should explain a little bit more how you use the unolibs.net in the game infrastructure.
????
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
anyway you should goto UNOLIBS.NET V2 the link is at the beginning of the article
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
I working in Free Anticheat for Game, Not developer the Game.
Game working in port 2346, i need VB.Net code detect when my computer connect in any port 2346.
Return me My IP Connected and Local Port Establish in Server.
You have Any idea ?
|
|
|
|
 |
|
 |
umm no.. anyway i don't think unolibs.net will be useful for your project.
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
You can help me for Any idea ?
|
|
|
|
 |
|
 |
this question is of topic, you should goto the forums and ask someone there! i wish you good luck.
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
Thank you, i go contact expert VB.Net programer.
|
|
|
|
 |
|
 |
Hi, first sorry for my bad english, I'm from Germany.
Back to Topic, i have a Server declared:
Dim WithEvents MyServer As New UNOLibs.Net.ServerClass(80, True)
And have write one Sub:
Private Sub OnIncomingMessage(ByVal Args As UNOLibs.Net.ServerClass.InMessEvArgs) Handles MyServer.IncomingMessage
If I type my IP in a Browser and klick enter, than react my Application, good I think, but it show me an Error and not the Message so it would be.
Can you help me?
GreeZ
PS: I have tried this with the example Demo and it says "Connection Error"
|
|
|
|
 |
|
 |
>>If I type my IP in a Browser and klick enter, than react my Application, >>good I think, but it show me an Error and not the Message so it would be.
I could not understand this, sorry. so i did not understand when the error comes out; maybe you should post another message, anyway if you have some problem with the example application, it must be something about your system configuation otherwise many other would have ah the same problem, if you post here more infos i may say what's wrong (if i will be able).
sorry for now.
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
I mean I let listen your Example Application on Port 80 like a Web Server and if I surf with the Internet explorer to my IP(Connect with the IE to Port 80), than your Example Application says "Connection Error".
And if I write my own Application and do the same, the Debugger say "System.NullReferenceException Error".
I hope you can understand it now.
|
|
|
|
 |
|
 |
first of all let me say again, goto unolibs.V2
and then, .. um... if you type something like
Http://YOURIP and press enter in IE
... what kind of message would you expect to display?
this server is not an htmlserver.
i think the nullreference occurs because there is no request at all. no data is sent to the server, so the server detects a connection, without any message, and when it ties to read the "message" wich in this case is the networktream it find it empty.
anyway, i still could jot get the sense of of what you doing.
anyway goto unolibs.V2
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
I got the same error today. I am using V2. server code is as follows ( VB .NET )
Module Module1
Dim WithEvents Server As UNOLibs.Net.ServerClass
Sub Main()
Dim s As String
Server = New UNOLibs.Net.ServerClass(6666, True, "C:\")
Console.Out.WriteLine("Serving port number 6666")
Console.Out.WriteLine("")
s = Console.In.ReadLine
Console.Out.Write(s)
s = Console.In.ReadLine
End Sub
Private Sub OnIncomingMessage(ByVal Args As UNOLibs.Net.ServerClass.InMessEvArgs) Handles Server.IncomingMessage
Console.Out.WriteLine("Message received")
Console.Out.WriteLine(" Sender : " + Args.senderIP)
Console.Out.WriteLine(" Message : " + Args.message)
Console.Out.WriteLine()
End Sub
End Module
When I try to connect with any custom client - it throws the System.NullReferenceException Error at me.
any ideas ?
thank you
|
|
|
|
 |
|
 |
anyway you should goto UNOLIBS.NET V2 the link is at the beginning of the article
<- true inside to understand outside ->
|
|
|
|
 |
|
 |
PEOPLE GOTO UNOLIBS V2
the link it in the begining of the article
<- true inside to understand outside ->
|
|
|
|
 |
 | nnbn  |  | raj4511 | 3:57 15 Apr '05 |
|
 |
nm.jk.,kkkkk.......................nnnnnnnnnnn
|
|
|
|
 |
|
 |
hk? iske wudske mee!!! strain gomle pantle nith roch has yopt?
|
|
|
|
 |
|
 |
With just 6 months of experience with VB .Net I'm trying to make a rock solid TCP/IP 'transaction engine' for a LAN based data entry application with one server and up to 6 entry stations. A transaction may never be lost of course and the application bottleneck is the data entry itself. Data entry may never be delayed because of network traffic or network breakdown.
After many hours looking for gold on MSDN I stumbled into this 'Beginner' code (to me it is complicated).
Why isn't it rated higher by the experienced users on this site? Am I overlooking something important?
BlueFront
|
|
|
|
 |
|
 |
well you should really not ask me this ) anyway i may say that codeproject is a c# dedicated site... have you seen the menuos and the categories?
then that's it.. most of c# programmers see themselfs as much better than vb.net ones... with no reason of course(for me), in the .net framework is just 2 different ways of doing exaclty the same things (if one can)
anyway only members can vote, and the very most of the members are here for c#.
|
|
|
|
 |
|
 |
Hey UNO Freeware!
I love your work exept i can't get the listener to listen to incoming Internet messages . Will you please help.
Thanks!
|
|
|
|
 |
|
 |
this is probably because you just didnot install the winxp tcpip slowdown fix.... more informations in the v2 of unolibs.net posted in codeproject(inhedited reader's section)
I strongly sugest to move to unolibs.net v2 and to install the patch wich is included in the downloads of the v2...
<- true inside to understand outside ->
|
|
|
|
 |