KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Kixforms Sockets : Discussion III
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Aug 09, 2004 1:27 pm    Post subject: Kixforms Sockets : Discussion III Reply with quote

Just posted a new development build. The following properties are no longer supported:

Socket.Address
Socket.Port

they have been replaced by the following:

Socket.LocalAddress
Socket.LocalPort
Socket.RemoteAddress
Socket.RemotePort

Use Local properties for binding, use Remote properties for connecting. Still working on the Connected property ...

-Shawn
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Mon Aug 09, 2004 1:57 pm    Post subject: Reply with quote

This hopefully suits the Lonk Rolling Eyes

eh?

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Aug 09, 2004 2:48 pm    Post subject: Reply with quote

The only thing that suits lonk is a 18yr old carrying a bottle of Russian Vodka, walking through his door at 2am in the morning.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Aug 09, 2004 3:11 pm    Post subject: Reply with quote

Ok - think we're getting very close to a workable framework for Sockets, think most of the pieces are kinda in place. Think disconnecting and closing and shutting sockets needs a bit of work though.

Also - see the requirement for the ability to transmit binary data - specifically, binary data formatted in a structure - kinda tough if not impossible to do gracefully in Kixtart.

See the need for some sort of System.Blob class. For those that dont know what a blob is - it stands for Binary Large OBject ... researching now how we might be able to implement it. Any comments/feedback welcome because I have no idea either.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Aug 09, 2004 3:50 pm    Post subject: Reply with quote

Want to start adding some Socket related icons to the library (just a few) anybody got any recommendations for the Connected and Disconnected icons ? Have to be the small kind (16x16 16color) ... about 1kb in size.
Back to top
View user's profile Send private message
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Mon Aug 09, 2004 4:28 pm    Post subject: Reply with quote

You have mail at sympatico...
Back to top
View user's profile Send private message MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Mon Aug 09, 2004 4:56 pm    Post subject: Reply with quote

Revised. You now have mail at hotmail.
Back to top
View user's profile Send private message MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Mon Aug 09, 2004 5:00 pm    Post subject: Reply with quote

If you like those, I can change the "connected" icon to show traffic (e.g. change the color of the screen).
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Mon Aug 09, 2004 7:13 pm    Post subject: Reply with quote

not knowing what Chris sent you...

Maybe you can add those little thingies we got since W2k in the Systray ... like 2 Computers changing their Monitor background color from black to light blue subsequently for 'Connected' state (that'd be kinda gif Confused ) and a single Computer with a black screen and a red cross on it's cable for 'Disconnected'

[edit] not neccessarily a gif ... thinking of the front computer in light blue screen for sending ... back computer with blue screen for receiving and both in blue for what else (maybe handshake ?) ... both Black screen would be for idling[/edit]

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Mon Aug 09, 2004 7:33 pm    Post subject: Reply with quote

I haven't had a chance to check-out the latest ones Chris sent me - maybe he could post them, or I will later-on tonight.

On another matter - got another Socket problem to work-through - if a server sends a client two consecutive packets (like two sends at once) then the client socket sometimes gets them in ONE single Receive, and sometimes TWO seperate Receives. Think I know how to resolve ...
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Aug 09, 2004 8:11 pm    Post subject: Reply with quote

that's no problem, it's just almost expected in non-blocking.

anyway, sending binary data is no problem with this socket stuff.
nor is structs.
but blobs are.
sending them will be slow.
anyway, shawn if you online we can test the speed later on.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Mon Aug 09, 2004 8:50 pm    Post subject: Reply with quote

Ok. Here they are...

Connected...


...and...

Unconnected...
Back to top
View user's profile Send private message MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Mon Aug 09, 2004 8:58 pm    Post subject: Reply with quote

Updated...

Unconnected...


No Traffic...


Traffic...
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Wed Aug 11, 2004 8:58 pm    Post subject: Reply with quote

suits you sir...

shawn, I've been actively trying to get client and server working on same machine with always getting "server actively refuses to like you"

WTF?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Wed Aug 11, 2004 9:07 pm    Post subject: Reply with quote

If you bind the server ip to "0.0.0.0" then it has the greatest chance of working (as it binds to all interfaces). If you use 127.0.0.1 then you need to use that for the client's configuration.

This is of course assuming I interpreted that error message correctly.

_________________
-Ben
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group