How to connect to unix aix server using MS winsock ?

Posted on 2006-04-23
Last Modified: 2013-11-13
Hi all,
Kindly help me with ideas to connect to a unix aix server through winsock.My requirement is to simulate a telnet session between my pc and the  server.I am not able to use winsock.getdata 'cause the connection state is always 6(connecting !).
In the winsock.data_arrival i get 6 bytes as the total bytes received.I cant proceed any further.Any help is highly appreciated.Also I am new to socket programming.
Question by:sundeep07_er
    LVL 19

    Accepted Solution

    Your best bet would be to purchase a telnet control.
    I've always been a big fan of Dart Controls:

    They make a great product.

    If you still insist on doing this project via winsock. You should probably read up on the Telnet RFC which is 854.

    Good Luck.

    LVL 28

    Assisted Solution

    There is an example telnet client here that uses winsock. Maybe it can help:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    If you haven’t already, I encourage you to read the first article ( in my series to gain a basic foundation of R and R Studio.  You will also find the …
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now