Results 1 to 15 of 15

Thread: Concept Of Lan Chat

  1. #1

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Question Concept Of Lan Chat

    Hi all
    Another concept coming in my mind my project running at the task bar and I am showing it at startup using some code…..
    When we click on mouse at the start up the pop up (msn type) form appear…
    And when pc start pc name saved in the database
    A combo is appearing showing all pc names that are presently login….
    Database is at server….
    What I want that I select a pc name from the combo…..
    And type a message then the message goes to another pc….

    Or directly I want to say have u any concepts of LAN chat….?
    How To Start

    Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Concept Of Lan Chat

    Netsend?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    Netsend?
    what...

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Concept Of Lan Chat

    Quote Originally Posted by shakti5385
    And type a message then the message goes to another pc….
    You described the program named Netsend.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  5. #5

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    You described the program named Netsend.
    so what happen?

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Concept Of Lan Chat

    I was just saying that what you want to write was written decades ago. If you search for Netsend source you'll probably find hundreds of hits.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  7. #7

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    If U R Able To Send Me The Link Then It Is Very Best Idea

  8. #8
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Concept Of Lan Chat

    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  9. #9
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    Re: Concept Of Lan Chat

    if it uses the Messenger Service,
    Messenger Service is disabled in XP SP2 by default as is a security risk ..

  10. #10

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    i am checking

  11. #11

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    this very help full.... again i am testing..........
    please some wait...
    thanks

  12. #12
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Concept Of Lan Chat

    While there is a known buffer overrun vulnerability in the Windows Messenger Service in NT operating systems (NT 4.0, 2000, XP, 2003) there is a patch for it too. Microsoft Security Bulletin MS03-043.

    These are just an inevitability when you use software written in unsafe languages like C. The only cure is lots of eyeballs going over the code for bugs like this, one answer perhaps being to use OpenBSD where the code is heavily scrutinized.

    All that said, there is nothing inherently unsafe in the communications infrastructure used by NET SEND and the Messenger Service (or WinPopup on Win9x systems). Windows Networking Mailslots are a really nice little UDP-like communication technology.


    As long as you have NetBIOS connectivity between systems and they are in the same Workgroup or Domain Mailslots work nicely for LAN messaging. One advantage is that you don't need to tie up a TCP port number, the traffic is multiplexed over the channels used for File and Print Sharing services. Another is that Mailslots programs work transparently over TCP/IP, IPX, or even NetBEUI. Yet another is the vast namespace available with Mailslots, unlike the 64K of port numbers used for TCP/IP.

    Mailslots also present some small obstacles. Nothing is perfect.

    One thing is that only one instance of a given Mailslot can exist on a machine - but that's a lot like saying only one program can Bind to a given TCP or UDP port. Another is that in when machines allow NetBIOS over multiple protocols (TCP/IP and IPX for example) a message sent to a Mailslot will get there once for each protocol in use. The datagram limit is also 424 bytes for Mailslot broadcasts.

    The big thing is that there isn't any standard ActiveX component for doing Mailslots. Instead you have to code to the API. See About Mailslots for details.

  13. #13
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

  14. #14
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Concept Of Lan Chat

    I'm sorry, but I can barley understand what you are trying to do...

    But my best bet would to send a message to the broadcast address on your network asking who is out there, and the client program (that you write) would respond "I'm here!" (ok not exactly that...maybe a certain byte if the user is at the computer, 0x01, logged out, 0x02...ect).
    And creating it from there is a basic relay server, (unless you want usernames/passwords, even then it wouldn't be that hard).
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  15. #15

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Concept Of Lan Chat

    i am cecking wait ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width