Search:

Type: Posts; User: shivam1992

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,861

    Chat Application using Sockets Question

    Ive made a chat application implementing sockets, But I want to implement a read notification so when the user sends a message they know when the other person read it!, How are read notifications...
  2. Replies
    4
    Views
    1,557

    How would you go about initializing the class...

    How would you go about initializing the class members in a separate implementation file and then including that in the main source file? So for example I have my class declarations in the header...
  3. Replies
    4
    Views
    1,557

    Bad practices or good?

    I wrote a header file with my class that contains static members, Do I have to create a separate file for this class to initilialize these static members? or can i just instantiate them outside the...
  4. Replies
    11
    Views
    1,780

    Wow thanks to all of you I really now get the...

    Wow thanks to all of you I really now get the scope resolution operator and what it does fully, thanks guys for the detailed replies, Thats why I love this forum, Lots of friendly professionals that...
  5. Replies
    11
    Views
    1,780

    so its used to access static members from a...

    so its used to access static members from a class? or when using isnt specified? , why would it be used if the using directive isnt present?
  6. Replies
    11
    Views
    1,780

    Scope Resolution Operator Help?

    I have done alot of googling for the scope resolution operator and Ive gained a bit of an understanding as to what it does i know it can distinguish between global and local variables, but I see it...
  7. Yeah but I wanted to do it without the built in...

    Yeah but I wanted to do it without the built in c# methods :P to learn it from scratch :)
  8. Reverse a string but not words (Rate my solution)

    So i wrote up a quick program to reverse a string but not the actual words, So basically if I have input such as
    "how are you" , after passing that string through my method itll become "you are...
  9. No im not sure how to do that hahah :P! I...

    No im not sure how to do that hahah :P! I debugged it but i didnt see any difference! I definitely think its the logic in the recieve code thats "inefficient" what do you think about that? Do you...
  10. Do you want me to zip up the client and server...

    Do you want me to zip up the client and server programs in two seperate zip files and you can run them? and see what im talking about in terms of the "delay"
  11. It waits for a socket to be accepted without the...

    It waits for a socket to be accepted without the .accepted() call blocking it, i lowered the time for it to literally 1 and i was getting the delay still, i use the poll as a non blocking way so...
  12. its in an endless loop, here is the loop, this...

    its in an endless loop, here is the loop, this loop resides in the main function, the previous lines before it just instantiate the class and its attributes, here is the code:
    Client Queue is a list...
  13. Well even with one client its delayed by a few...

    Well even with one client its delayed by a few seconds, sometimes its like a 10 second delay and thats just for one client connected, the delay is so random, its definitely in my recieve code, should...
  14. okay i reduced the time but i still get a delay,...

    okay i reduced the time but i still get a delay, that's odd, hmmm,the delay is random, sometimes it is delayed other times it isn't. Could it be because in my receive code i'm receiving a message...
  15. im using a non blocking method by polling the...

    im using a non blocking method by polling the socket so that cant be it
  16. Yeah its definitely my receive code, What would...

    Yeah its definitely my receive code, What would be a solution for this?
  17. Need help finding Fast Way to send a message to multiple sockets in a list object?

    Im making a chat application, i already finished it but sometimes the messages are REALLY delayed for some clients. I have two methods, one called checkForMessages that checks the message on the...
  18. Replies
    5
    Views
    5,470

    Thanks guys, the problem was bad input, i...

    Thanks guys, the problem was bad input, i apologize for the grammatical errors in my post! :)
  19. Replies
    5
    Views
    5,470

    Help Parsing String into an ip address

    So im trying to parse a string into a Ip Address but i have a problem, the IPAddress.Parse method only works for ipv4 address's how do i parse ANY Ip address into a string, if i use the...
  20. ahh okay thanks, what do you mean by thread...

    ahh okay thanks, what do you mean by thread though, if i wanted to keep track of each single connection could i put them in a dictionary or list of sockets?
  21. Socket Programming (Handing mulitple connections help)

    I have created a simple basic program that uses sockets but it can only handle one connection, how do I make it so it handles multiple connections?

    Server code:

    using System;
    using...
  22. Replies
    1
    Views
    3,406

    Wait number of seconds?! please help

    Are there any methods in c# that wait a number of seconds?! Im doing a game in XNA and I need to have a delay!
  23. Replies
    2
    Views
    1,841

    Need help with XNA game in c#

    Basically no charecter functionality is made in the game, I have a side scrolling background adn then platforms that move automatically to the left, basically the first background is working...
  24. For the shifting, lets say I have a string that...

    For the shifting, lets say I have a string that says Jennifer Aniston is so attractive, now i wanna replace the word "so" with extremly, now for the shifting when I shift, I will only have to shift...
  25. so shifting the contents over would have to be...

    so shifting the contents over would have to be done? :tongue:
Results 1 to 25 of 35
Page 1 of 2 1 2