Re: simple telnet-like networking in cocoa
Re: simple telnet-like networking in cocoa
- Subject: Re: simple telnet-like networking in cocoa
- From: Prachi Gauriar <email@hidden>
- Date: Wed, 26 May 2004 11:32:43 -0500
On May 26, 2004, at 9:57 AM, Christoffer Lerno wrote:
On May 26, 2004, at 20:03, M. Uli Kusterer wrote:
At 15:27 Uhr +0800 25.05.2004, Christoffer Lerno wrote:
Could someone just provide me with a code snippet that at least
initializes a socket at some address & port, and then read & write a
few characters through it?
No need anymore, I got the code-example I wanted. Thanks everyone
for helping out!
I think there are some people here who'd also like to see that
example (i.e. me, myself and I). Could you perhaps post a link to it
here, or if it's short, the actual code sample?
It's a small simple telnet app. A little too long to post maybe. It
was written by Prachi Gauriar who occasionally posts on this list,
maybe he is interested in making it available?
The funny thing is that I didn't send it to Christopher. Someone else
sent them my code before I could! :-) Anyway, I've posted it in my
.Mac public folder with an MIT (e.g. do as you will) license.
<
http://homepage.mac.com/gallenx/.cv/gallenx/Public/
SocketStreamTest.zip-link.zip>
It's not much. I just threw it together awhile back to try to use
NSStream. There may be issues with it, but it demonstrates how to use
NSStream to connect to a host.
Hope it helps people out.
-Prachi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.