Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Network Chat in Command Prompt


  • Please log in to reply
3 replies to this topic

#1 Iceman692

Iceman692

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 13 March 2010 - 10:21 PM

Basically, this is a little pet project I took on to introduce myself to the world of programing. I've done a lot of web development, which I quickly realized was quite similar.

What I want to do is write a full chat client that works in Command Prompt over a network. I've explored the opportunities of netsend and i have written a program that works with it. However, I want the other user to be able to reply right back to me. Instead, netsend brings up a dialogue box with the message and the user simply clicks okay. Plus all the network PC's have to be configured to allow net send. I was thinking I could place a bat file on the network server that a person could click on to begin a chat. Then that person could input the ip address/computer name of the user they want to contact. The program would then perform a net send to advise the user of an attempted conversation (i'd rather have a command prompt window just pop up but I don't think that's possible) and then that user would then open the bat file on their end or something and we could somehow edit....idk I just talked myself in a circle and realized that half of what I suggested so far doesn't seem like its technically possible. Again I'm new to this and I think what I have written gives you a good idea of what I'm looking for. I'd appreciate any help/advice you could give me.

BC AdBot (Login to Remove)

 


#2 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:06:00 AM

Posted 13 March 2010 - 11:56 PM

You know, this kind of a system already exists. Why don't you start by opening up an existing commandline IRC client such as irssi? http://www.irssi.org/download

Billy3
Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#3 Iceman692

Iceman692
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 14 March 2010 - 12:05 AM

You know, this kind of a system already exists. Why don't you start by opening up an existing commandline IRC client such as irssi? http://www.irssi.org/download

Billy3


This looks promising, but their website poorly explains the whole thing for someone who's never seen it before. Does it run in command prompt? Do I have to install it on each individual computer or does can it be saved to a central location on a server where anyone can access it? How do I download? There's an option to download the source code or binary, but I don't think I want either of those, right? :thumbsup:

#4 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:06:00 AM

Posted 14 March 2010 - 12:47 AM

You probably want the source code, no? You were asking how to implement such a system, and IRC is that system. Look up the protocol itself: http://en.wikipedia.org/wiki/Internet_Relay_Chat . A "binary" is just a compiled program that you can run as-is. Download that if you just want to use such a system and don't want to develop it yourself.

I can't say much about that specific client because I use graphical clients -- I've never used a commandline IRC client.

Billy3
Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users