[C#] Socket Tut/Suggestions menu

User Tag List

Results 1 to 4 of 4
  1. #1
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C#] Socket Tut/Suggestions

    Hey so i was tinkering around with the Sockets class, and i didnt really get it, followed the examples on msdn.

    So, what i wonder is basically, is it possible sending info from Program1 > Program2?

    getting the current local ip or a list of all nearby ones? and then send messages to them?

    Its for a small prog to watch over certain values in another program
    " Spy sappin mah sentry! "

    [C#] Socket Tut/Suggestions
  2. #2
    Nikentic's Avatar Elite User
    Reputation
    453
    Join Date
    Oct 2007
    Posts
    1,556
    Thanks G/R
    10/4
    Trade Feedback
    6 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I coded 2 bad programs, one could connect and send message to a chosen IP address , the other could receive connections and messages.
    Just a console app tho

    I'll see if I can find it!

  3. #3
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just found this a moment ago, seems it was hiding on MSDN, sneaky microsoft

    Networking Samples for .NET v4.0 - Home

    Does kinda what you say, start the server, then the client, get info then send response and its done. The code from there was quite easy, just gonna figure out how to send full strings, ints and other nifty messages and go from there

    ---------- Post added at 11:36 AM ---------- Previous post was at 11:33 AM ----------

    If any c++ coder have been into this id like to see a sample, and see if its easier or simpler in c++
    Last edited by snigelmannen; 12-22-2010 at 11:39 AM.
    " Spy sappin mah sentry! "

  4. #4
    snigelmannen's Avatar Member
    Reputation
    27
    Join Date
    Jul 2007
    Posts
    318
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, seems udp/tcp stuff is simpler, will try those instead
    " Spy sappin mah sentry! "

Similar Threads

  1. MMOwned Suggestion!
    By Shingles in forum Suggestions
    Replies: 12
    Last Post: 11-09-2006, 09:43 PM
  2. Open to suggestions and questions!...
    By Simy in forum World of Warcraft General
    Replies: 3
    Last Post: 07-11-2006, 02:41 AM
  3. The new rank symbols suggestion
    By Shanaar in forum Suggestions
    Replies: 9
    Last Post: 07-10-2006, 07:24 PM
  4. Any gd asian private server to suggest ?
    By wilsonwong33 in forum World of Warcraft General
    Replies: 1
    Last Post: 06-15-2006, 08:04 AM
  5. Suggestion.
    By janzi9 in forum Suggestions
    Replies: 13
    Last Post: 05-04-2006, 02:20 PM
All times are GMT -5. The time now is 04:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search