︙ | | |
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
-
+
-
+
|
class = class_;
string = NULL;
return self;
}
- free
- (void)dealloc
{
if (string != NULL)
free(string);
return [super free];
[super dealloc];
}
- (Class)inClass
{
return class;
}
|
︙ | | |
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
|
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
|
-
+
-
+
|
path = (path_ != NULL ? strdup(path_) : NULL);
mode = (mode_ != NULL ? strdup(mode_) : NULL);
err = GET_ERR;
return self;
}
- free
- (void)dealloc
{
if (path != NULL)
free(path);
if (mode != NULL)
free(mode);
return [super free];
[super dealloc];
}
- (const char*)cString
{
if (string != NULL)
return string;
|
︙ | | |
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
|
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
|
-
+
-
+
|
node = (node_ != NULL ? strdup(node_) : NULL);
service = (service_ != NULL ? strdup(service_) : NULL);
err = GET_SOCK_ERR;
return self;
}
- free
- (void)dealloc
{
if (node != NULL)
free(node);
if (service != NULL)
free(node);
return [super free];
[super dealloc];
}
- (const char*)cString
{
if (string != NULL)
return string;
|
︙ | | |
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
|
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
|
-
+
-
+
|
host = (host_ != NULL ? strdup(host_) : NULL);
port = port_;
err = GET_SOCK_ERR;
return self;
}
- free
- (void)dealloc
{
if (host != NULL)
free(host);
return [super free];
[super dealloc];
}
- (const char*)cString
{
if (string != NULL)
return string;
|
︙ | | |
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
|
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
|
-
+
-
+
|
port = port_;
family = family_;
err = GET_SOCK_ERR;
return self;
}
- free
- (void)dealloc
{
if (host != NULL)
free(host);
return [super free];
[super dealloc];
}
- (const char*)cString
{
if (string != NULL)
return string;
|
︙ | | |