LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-08-2010, 04:25 AM   #1
hida4all
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Unexpected output from my program


hello every body,
This is Hida. while doing socket/network programming, i am getting SSH-2.0-openssh4.7 error, instead of showing day time of server.
general description i have Linux Box, with the help of putty i am connecting from windows system to Linux box,no problem in loging,
after typing program, i am running the program with gcc. when typing ./a.out, it is showing SSH-2.0-openssh4.7, actually it should display daytime from linux box in both tcp and udp.
 
Old 09-08-2010, 04:53 AM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
First off your title is very bad and you need to be more descriptive about it. Like say a little about what you need help for in your title. People here look down on titles like yours.

I just started doing a little programing my self too but I don't think anybody is going to be able to help you with out posting your source in with "[code]" tags. Make sure you chmod your file to something like 755 for execution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] syslinux unexpected console output lryoung Linux - Kernel 1 07-24-2010 03:55 AM
[SOLVED] Unexpected output from stat --format %h catkin Linux - Software 2 03-07-2010 03:00 AM
Unexpected output from grep zer0x333 Linux - General 12 12-04-2007 10:42 AM
C: malloc arrays- unexpected output kpachopoulos Programming 3 03-24-2006 09:30 PM
Unexpected output from 'ls' when using glob expressions psiakr3w Linux - General 7 07-22-2004 03:21 AM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration