Click here to Skip to main content
16,003,474 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to get md5 value or alike from arraylist? Pin
Richard MacCutchan10-Oct-09 6:18
mveRichard MacCutchan10-Oct-09 6:18 
GeneralRe: How to get md5 value or alike from arraylist? Pin
lvq68410-Oct-09 6:31
lvq68410-Oct-09 6:31 
GeneralRe: How to get md5 value or alike from arraylist? Pin
Xmen Real 10-Oct-09 20:26
professional Xmen Real 10-Oct-09 20:26 
AnswerRe: How to get md5 value or alike from arraylist? Pin
Luc Pattyn10-Oct-09 11:02
sitebuilderLuc Pattyn10-Oct-09 11:02 
GeneralRe: How to get md5 value or alike from arraylist? Pin
lvq68410-Oct-09 12:26
lvq68410-Oct-09 12:26 
GeneralRe: How to get md5 value or alike from arraylist? Pin
Luc Pattyn10-Oct-09 12:45
sitebuilderLuc Pattyn10-Oct-09 12:45 
GeneralRe: How to get md5 value or alike from arraylist? Pin
lvq68410-Oct-09 21:52
lvq68410-Oct-09 21:52 
QuestionDatabase build in c# Pin
JollyMansArt10-Oct-09 5:39
JollyMansArt10-Oct-09 5:39 
AnswerRe: Database build in c# Pin
Henry Minute10-Oct-09 5:57
Henry Minute10-Oct-09 5:57 
AnswerRe: Database build in c# Pin
Md. Marufuzzaman10-Oct-09 5:57
professionalMd. Marufuzzaman10-Oct-09 5:57 
QuestionRe: Database build in c# Pin
JollyMansArt10-Oct-09 6:34
JollyMansArt10-Oct-09 6:34 
AnswerRe: Database build in c# Pin
Md. Marufuzzaman10-Oct-09 6:50
professionalMd. Marufuzzaman10-Oct-09 6:50 
AnswerRe: Database build in c# Pin
Mycroft Holmes10-Oct-09 12:53
professionalMycroft Holmes10-Oct-09 12:53 
QuestionWhy I can send only one string to server-TCP Pin
Aljaz11110-Oct-09 4:10
Aljaz11110-Oct-09 4:10 
AnswerRe: Why I can send only one string to server-TCP Pin
Luc Pattyn10-Oct-09 5:29
sitebuilderLuc Pattyn10-Oct-09 5:29 
GeneralRe: Why I can send only one string to server-TCP Pin
Aljaz11110-Oct-09 6:12
Aljaz11110-Oct-09 6:12 
GeneralRe: Why I can send only one string to server-TCP Pin
Luc Pattyn10-Oct-09 6:17
sitebuilderLuc Pattyn10-Oct-09 6:17 
GeneralRe: Why I can send only one string to server-TCP Pin
Aljaz11110-Oct-09 7:34
Aljaz11110-Oct-09 7:34 
Ok..i made new class for most of the code.. now i get error when i try to start streaming client.. here i have code in that class:
public void start_client()
        {
            IPAddress novip = IPAddress.Parse(_ip);
            Console.WriteLine("Povezujem ...");

            odjemalec.Connect(novip, int.Parse(_port));

            Console.WriteLine("Povezan");
            /*Console.Write("Vpiši besedilo: ");
            String line = Console.ReadLine();*/

        }

        public void streamaj_client()
        {
            
            
            NetworkStream networkStream = odjemalec.GetStream(); //HERE IS ERROR: Additional information: The operation is not allowed on non-connected sockets. //

            StreamReader streamReader = new StreamReader(networkStream);
            StreamWriter streamWriter = new StreamWriter(networkStream);
            streamWriter.WriteLine(podatki);
            Console.WriteLine("Pošiljam sporočilo...");
            streamWriter.Flush();
            string s = streamReader.ReadLine();


            //textBox1.Text = s;

            Console.WriteLine("Prejemam sporočilo...");
            Console.WriteLine(s);
        }


here are two methods..i get error at NetworkStream networkStream=odjemalec.GetStream(); It says networkStream=null? But i have connected client to server and it says in console that is connected. What am i doing wrong now?
Question[Message Deleted] Pin
Fred 3410-Oct-09 4:03
Fred 3410-Oct-09 4:03 
AnswerRe: useful icon for developing desktop application Pin
Md. Marufuzzaman10-Oct-09 4:25
professionalMd. Marufuzzaman10-Oct-09 4:25 
QuestionDon't convert to the nearest decimal Pin
Etienne_12310-Oct-09 3:48
Etienne_12310-Oct-09 3:48 
AnswerRe: Don't convert to the nearest decimal Pin
Luc Pattyn10-Oct-09 3:53
sitebuilderLuc Pattyn10-Oct-09 3:53 
GeneralRe: Don't convert to the nearest decimal Pin
Etienne_12310-Oct-09 3:58
Etienne_12310-Oct-09 3:58 
GeneralRe: Don't convert to the nearest decimal Pin
Luc Pattyn10-Oct-09 4:09
sitebuilderLuc Pattyn10-Oct-09 4:09 
GeneralRe: Don't convert to the nearest decimal Pin
harold aptroot10-Oct-09 4:14
harold aptroot10-Oct-09 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.